var i = 0;
var newArr = [];
for (i; i <= 10; i++) {
    var res = parseFloat(Math.random().toString().slice(2, 3));
    newArr.push(res);
}
console.log(newArr);
var arr = ["a", true, 1];
function uniqueNums() {
    for (i; i <= 10; i++) {
        var res = parseFloat(Math.random().toString().slice(2, 3));
        newArr.push(res);
    }
}
uniqueNums();
